// const { environment } = require('./config/environment.js')

module.exports = {
	devServer: {
		port: 9001,
		proxy: {
			'/api': {
				target: 'http://10.189.88.110:8001',
				ws: true,
				changeOrigin: true,
				pathRewrite: {
					'^/api': 'api'
				}
			},
			'/auth': {
				target: 'http://10.189.88.110:8001',
				changeOrigin: true,
				pathRewrite: {
					'^/auth': 'auth'
				}
			}
			// '/api/Dcs': {
			// 	target: 'http://192.168.31.66:8080',
			// 	ws: true,
			// 	changeOrigin: true,
			// 	pathRewrite: {
			// 		'^/api/Dcs': '/api/Dcs'
			// 	}
			// }
		},
	}
}